[INFO] cloning repository https://github.com/solutions-plug/predictIQ
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/solutions-plug/predictIQ" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsolutions-plug%2FpredictIQ", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsolutions-plug%2FpredictIQ'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0668215c1bdca47a48e88fd8e252f5ec802c1651
[INFO] testing solutions-plug/predictIQ/0668215c1bdca47a48e88fd8e252f5ec802c1651 against master#cced03bfd61a304243a34504618ecec86c17063f for pr-154065-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsolutions-plug%2FpredictIQ" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/solutions-plug/predictIQ
[INFO] finished tweaking git repo https://github.com/solutions-plug/predictIQ
[INFO] tweaked toml for git repo https://github.com/solutions-plug/predictIQ written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/solutions-plug/predictIQ on toolchain cced03bfd61a304243a34504618ecec86c17063f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 216 packages to latest compatible versions
[INFO] [stderr]       Adding arbitrary v1.3.2 (available: v1.4.2)
[INFO] [stderr]       Adding crypto-common v0.1.6 (available: v0.1.7)
[INFO] [stderr]       Adding derive_arbitrary v1.3.2 (available: v1.4.2)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded zeroize_derive v1.5.0
[INFO] [stderr]   Downloaded soroban-sdk-macros v26.1.0
[INFO] [stderr]   Downloaded soroban-builtin-sdk-macros v26.1.3
[INFO] [stderr]   Downloaded soroban-spec-rust v26.1.0
[INFO] [stderr]   Downloaded soroban-spec v26.1.0
[INFO] [stderr]   Downloaded soroban-env-macros v26.1.3
[INFO] [stderr]   Downloaded soroban-ledger-snapshot v26.1.0
[INFO] [stderr]   Downloaded soroban-env-guest v26.1.3
[INFO] [stderr]   Downloaded serde_with_macros v3.21.0
[INFO] [stderr]   Downloaded soroban-sdk v26.1.0
[INFO] [stderr]   Downloaded ethnum v1.5.3
[INFO] [stderr]   Downloaded soroban-env-common v26.1.3
[INFO] [stderr]   Downloaded serde_with v3.21.0
[INFO] [stderr]   Downloaded ark-bls12-381 v0.5.0
[INFO] [stderr]   Downloaded soroban-env-host v26.1.3
[INFO] [stderr]   Downloaded sha3 v0.10.9
[INFO] [stderr]   Downloaded stellar-xdr v26.0.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e1bad866db3398290eb2f5a83752ac8ec1ffe0217b022f273c3cf3e834a312b2
[INFO] running `Command { std: "docker" "start" "-a" "e1bad866db3398290eb2f5a83752ac8ec1ffe0217b022f273c3cf3e834a312b2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e1bad866db3398290eb2f5a83752ac8ec1ffe0217b022f273c3cf3e834a312b2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e1bad866db3398290eb2f5a83752ac8ec1ffe0217b022f273c3cf3e834a312b2", kill_on_drop: false }`
[INFO] [stdout] e1bad866db3398290eb2f5a83752ac8ec1ffe0217b022f273c3cf3e834a312b2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 849a50d60f64a2dd6f69aa8eff9de85c8d05f24f1ca424668efa517c238c3a71
[INFO] running `Command { std: "docker" "start" "-a" "849a50d60f64a2dd6f69aa8eff9de85c8d05f24f1ca424668efa517c238c3a71", kill_on_drop: false }`
[INFO] [stderr]    Compiling typenum v1.20.1
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling serde_json v1.0.150
[INFO] [stderr]    Compiling generic-array v0.14.9
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling libc v0.2.186
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling zerocopy v0.8.52
[INFO] [stderr]    Compiling semver v1.0.28
[INFO] [stderr]    Compiling data-encoding v2.11.0
[INFO] [stderr]    Compiling schemars v0.8.22
[INFO] [stderr]    Compiling dyn-clone v1.0.20
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling escape-bytes v0.1.1
[INFO] [stderr]    Compiling ethnum v1.5.3
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling ff v0.13.1
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling rustc_version v0.4.1
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling base16ct v0.2.0
[INFO] [stderr]    Compiling either v1.16.0
[INFO] [stderr]    Compiling group v0.13.0
[INFO] [stderr]    Compiling itertools v0.13.0
[INFO] [stderr]    Compiling once_cell v1.21.4
[INFO] [stderr]    Compiling wasmparser v0.116.1
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling curve25519-dalek v4.1.3
[INFO] [stderr]    Compiling indexmap-nostd v0.4.0
[INFO] [stderr]    Compiling prettyplease v0.2.37
[INFO] [stderr]    Compiling downcast-rs v1.2.1
[INFO] [stderr]    Compiling wasmi_core v0.13.0
[INFO] [stderr]    Compiling wasmparser-nostd v0.100.2
[INFO] [stderr]    Compiling wasmi_arena v0.4.1
[INFO] [stderr]    Compiling smallvec v1.15.2
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling heapless v0.8.0
[INFO] [stderr]    Compiling hash32 v0.3.1
[INFO] [stderr]    Compiling soroban-env-host v26.1.3
[INFO] [stderr]    Compiling darling_core v0.23.0
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]    Compiling macro-string v0.1.4
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling hex-literal v0.4.1
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.6
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling zeroize_derive v1.5.0
[INFO] [stderr]    Compiling zeroize v1.9.0
[INFO] [stderr]    Compiling cfg_eval v0.1.2
[INFO] [stderr]    Compiling enum-ordinalize-derive v4.3.2
[INFO] [stderr]    Compiling der v0.7.10
[INFO] [stderr]    Compiling enum-ordinalize v4.3.2
[INFO] [stderr]    Compiling ark-std v0.5.0
[INFO] [stderr]    Compiling ark-serialize-derive v0.5.0
[INFO] [stderr]    Compiling educe v0.6.0
[INFO] [stderr]    Compiling darling_macro v0.23.0
[INFO] [stderr]    Compiling darling v0.23.0
[INFO] [stderr]    Compiling crypto-bigint v0.5.5
[INFO] [stderr]    Compiling serde_with_macros v3.21.0
[INFO] [stderr]    Compiling sec1 v0.7.3
[INFO] [stderr]    Compiling signature v2.2.0
[INFO] [stderr]    Compiling ark-serialize v0.5.0
[INFO] [stderr]    Compiling ark-ff-macros v0.5.0
[INFO] [stderr]    Compiling ark-ff-asm v0.5.0
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling rfc6979 v0.4.0
[INFO] [stderr]    Compiling num-derive v0.4.2
[INFO] [stderr]    Compiling curve25519-dalek-derive v0.1.1
[INFO] [stderr]    Compiling elliptic-curve v0.13.8
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling ed25519 v2.2.3
[INFO] [stderr]    Compiling ecdsa v0.16.9
[INFO] [stderr]    Compiling primeorder v0.13.6
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]    Compiling soroban-wasmi v0.31.1-soroban.20.0.1
[INFO] [stderr]    Compiling crate-git-revision v0.0.6
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling ark-ff v0.5.0
[INFO] [stderr]    Compiling stellar-strkey v0.0.13
[INFO] [stderr]    Compiling stellar-xdr v26.0.1
[INFO] [stderr]    Compiling soroban-env-common v26.1.3
[INFO] [stderr]    Compiling stellar-strkey v0.0.16
[INFO] [stderr]    Compiling ed25519-dalek v2.2.0
[INFO] [stderr]    Compiling soroban-sdk v26.1.0
[INFO] [stderr]    Compiling k256 v0.13.4
[INFO] [stderr]    Compiling p256 v0.13.2
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]    Compiling sha3 v0.10.9
[INFO] [stderr]    Compiling soroban-builtin-sdk-macros v26.1.3
[INFO] [stderr]    Compiling serde_with v3.21.0
[INFO] [stderr]    Compiling bytes-lit v0.0.5
[INFO] [stderr]    Compiling visibility v0.1.1
[INFO] [stderr]    Compiling ark-poly v0.5.0
[INFO] [stderr]    Compiling ark-ec v0.5.0
[INFO] [stderr]    Compiling ark-bn254 v0.5.0
[INFO] [stderr]    Compiling ark-bls12-381 v0.5.0
[INFO] [stderr]    Compiling soroban-spec v26.1.0
[INFO] [stderr]    Compiling soroban-spec-rust v26.1.0
[INFO] [stderr]    Compiling soroban-env-macros v26.1.3
[INFO] [stderr]    Compiling soroban-sdk-macros v26.1.0
[INFO] [stderr]    Compiling predict-iq v0.1.0 (/opt/rustwide/workdir/contracts/predict-iq)
[INFO] [stdout] error: contract function name is too long: 33, max is 32
[INFO] [stdout]   --> contracts/predict-iq/src/lib.rs:81:12
[INFO] [stdout]    |
[INFO] [stdout] 81 |     pub fn create_market_with_dispute_window(
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::types::CANCEL_OUTCOME_INDEX`
[INFO] [stdout]  --> contracts/predict-iq/src/modules/cancellation.rs:3:34
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::types::{MarketStatus, CANCEL_OUTCOME_INDEX};
[INFO] [stdout]   |                                  ^^^^^^^^^^^^^^^^^^^^ no `CANCEL_OUTCOME_INDEX` in `types`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `format` in this scope
[INFO] [stdout]    --> contracts/predict-iq/src/modules/migration.rs:146:22
[INFO] [stdout]     |
[INFO] [stdout] 146 |     let backup_key = format!("migration:backup:v{}", from_version);
[INFO] [stdout]     |                      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `vec` in this scope
[INFO] [stdout]   --> contracts/predict-iq/src/modules/migration.rs:90:25
[INFO] [stdout]    |
[INFO] [stdout] 90 |     let required_keys = vec![ConfigKey::Admin, ConfigKey::GuardianSet];
[INFO] [stdout]    |                         ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]    |
[INFO] [stdout]  1 + use soroban_sdk::vec;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `format` in this scope
[INFO] [stdout]   --> contracts/predict-iq/src/modules/migration.rs:78:17
[INFO] [stdout]    |
[INFO] [stdout] 78 |     let entry = format!("v{}->v{}@{}", from_version, to_version, timestamp);
[INFO] [stdout]    |                 ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `format` in this scope
[INFO] [stdout]   --> contracts/predict-iq/src/modules/migration.rs:63:22
[INFO] [stdout]    |
[INFO] [stdout] 63 |     let backup_key = format!("migration:backup:v{}", version);
[INFO] [stdout]    |                      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `format` in this scope
[INFO] [stdout]   --> contracts/predict-iq/src/modules/migration.rs:53:22
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let backup_key = format!("migration:backup:v{}", version);
[INFO] [stdout]    |                      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `validate_parent_market` in module `markets`
[INFO] [stdout]   --> contracts/predict-iq/src/modules/bets.rs:80:18
[INFO] [stdout]    |
[INFO] [stdout] 80 |         markets::validate_parent_market(e, market.parent_id, market.parent_outcome_idx)?;
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^ not found in `markets`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `get_outcome_stake` in module `markets`
[INFO] [stdout]    --> contracts/predict-iq/src/modules/bets.rs:145:34
[INFO] [stdout]     |
[INFO] [stdout] 145 |     let outcome_stake = markets::get_outcome_stake(e, market_id, outcome);
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^ not found in `markets`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `set_outcome_stake` in module `markets`
[INFO] [stdout]    --> contracts/predict-iq/src/modules/bets.rs:146:14
[INFO] [stdout]     |
[INFO] [stdout] 146 |     markets::set_outcome_stake(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^ not found in `markets`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `increment_outcome_bet_count` in module `markets`
[INFO] [stdout]    --> contracts/predict-iq/src/modules/bets.rs:154:14
[INFO] [stdout]     |
[INFO] [stdout] 154 |     markets::increment_outcome_bet_count(e, market_id, outcome);
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `markets`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `get_outcome_stake` in module `markets`
[INFO] [stdout]    --> contracts/predict-iq/src/modules/bets.rs:285:42
[INFO] [stdout]     |
[INFO] [stdout] 285 |     let winning_outcome_stake = markets::get_outcome_stake(e, market_id, winning_outcome);
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^^^^^ not found in `markets`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::types::ConfigKey`
[INFO] [stdout]  --> contracts/predict-iq/src/modules/migration.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::types::ConfigKey;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Vec`
[INFO] [stdout]  --> contracts/predict-iq/src/modules/migration.rs:3:38
[INFO] [stdout]   |
[INFO] [stdout] 3 | use soroban_sdk::{contracttype, Env, Vec};
[INFO] [stdout]   |                                      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::types::CircuitBreakerState`
[INFO] [stdout]  --> contracts/predict-iq/src/modules/monitoring.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::types::CircuitBreakerState;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BytesN`
[INFO] [stdout]  --> contracts/predict-iq/src/types.rs:1:42
[INFO] [stdout]   |
[INFO] [stdout] 1 | use soroban_sdk::{contracttype, Address, BytesN, Map, String, Vec};
[INFO] [stdout]   |                                          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `MinimumBetAmount` found for enum `ConfigKey` in the current scope
[INFO] [stdout]    --> contracts/predict-iq/src/modules/bets.rs:374:40
[INFO] [stdout]     |
[INFO] [stdout] 374 |         .get(&crate::types::ConfigKey::MinimumBetAmount)
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^ variant, associated function, or constant not found in `ConfigKey`
[INFO] [stdout]     |
[INFO] [stdout]    ::: contracts/predict-iq/src/types.rs:110:1
[INFO] [stdout]     |
[INFO] [stdout] 110 | pub enum ConfigKey {
[INFO] [stdout]     | ------------------ variant, associated function, or constant `MinimumBetAmount` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `MinimumBetAmount` found for enum `ConfigKey` in the current scope
[INFO] [stdout]    --> contracts/predict-iq/src/modules/bets.rs:382:40
[INFO] [stdout]     |
[INFO] [stdout] 382 |         .set(&crate::types::ConfigKey::MinimumBetAmount, &amount);
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^ variant, associated function, or constant not found in `ConfigKey`
[INFO] [stdout]     |
[INFO] [stdout]    ::: contracts/predict-iq/src/types.rs:110:1
[INFO] [stdout]     |
[INFO] [stdout] 110 | pub enum ConfigKey {
[INFO] [stdout]     | ------------------ variant, associated function, or constant `MinimumBetAmount` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `soroban_sdk::events::Events::publish`: use the #[contractevent] macro on a contract event type
[INFO] [stdout]   --> contracts/predict-iq/src/modules/cancellation.rs:22:10
[INFO] [stdout]    |
[INFO] [stdout] 22 |         .publish((Symbol::new(e, "market_cancelled"), market_id), ());
[INFO] [stdout]    |          ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `soroban_sdk::events::Events::publish`: use the #[contractevent] macro on a contract event type
[INFO] [stdout]   --> contracts/predict-iq/src/modules/cancellation.rs:60:10
[INFO] [stdout]    |
[INFO] [stdout] 60 |         .publish((Symbol::new(e, "market_cancelled_vote"), market_id), ());
[INFO] [stdout]    |          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `soroban_sdk::events::Events::publish`: use the #[contractevent] macro on a contract event type
[INFO] [stdout]    --> contracts/predict-iq/src/modules/cancellation.rs:101:20
[INFO] [stdout]     |
[INFO] [stdout] 101 |         e.events().publish(
[INFO] [stdout]     |                    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `soroban_sdk::events::Events::publish`: use the #[contractevent] macro on a contract event type
[INFO] [stdout]   --> contracts/predict-iq/src/modules/events.rs:39:16
[INFO] [stdout]    |
[INFO] [stdout] 39 |     e.events().publish(
[INFO] [stdout]    |                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `soroban_sdk::events::Events::publish`: use the #[contractevent] macro on a contract event type
[INFO] [stdout]   --> contracts/predict-iq/src/modules/events.rs:46:16
[INFO] [stdout]    |
[INFO] [stdout] 46 |     e.events().publish(
[INFO] [stdout]    |                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `soroban_sdk::events::Events::publish`: use the #[contractevent] macro on a contract event type
[INFO] [stdout]   --> contracts/predict-iq/src/modules/events.rs:53:16
[INFO] [stdout]    |
[INFO] [stdout] 53 |     e.events().publish(
[INFO] [stdout]    |                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `soroban_sdk::events::Events::publish`: use the #[contractevent] macro on a contract event type
[INFO] [stdout]   --> contracts/predict-iq/src/modules/events.rs:66:16
[INFO] [stdout]    |
[INFO] [stdout] 66 |     e.events().publish(
[INFO] [stdout]    |                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `soroban_sdk::events::Events::publish`: use the #[contractevent] macro on a contract event type
[INFO] [stdout]   --> contracts/predict-iq/src/modules/events.rs:80:16
[INFO] [stdout]    |
[INFO] [stdout] 80 |     e.events().publish(
[INFO] [stdout]    |                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `soroban_sdk::events::Events::publish`: use the #[contractevent] macro on a contract event type
[INFO] [stdout]   --> contracts/predict-iq/src/modules/events.rs:87:16
[INFO] [stdout]    |
[INFO] [stdout] 87 |     e.events().publish(
[INFO] [stdout]    |                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `soroban_sdk::events::Events::publish`: use the #[contractevent] macro on a contract event type
[INFO] [stdout]   --> contracts/predict-iq/src/modules/events.rs:98:16
[INFO] [stdout]    |
[INFO] [stdout] 98 |     e.events().publish(
[INFO] [stdout]    |                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `soroban_sdk::events::Events::publish`: use the #[contractevent] macro on a contract event type
[INFO] [stdout]    --> contracts/predict-iq/src/modules/events.rs:119:16
[INFO] [stdout]     |
[INFO] [stdout] 119 |     e.events().publish(
[INFO] [stdout]     |                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `soroban_sdk::events::Events::publish`: use the #[contractevent] macro on a contract event type
[INFO] [stdout]    --> contracts/predict-iq/src/modules/events.rs:126:16
[INFO] [stdout]     |
[INFO] [stdout] 126 |     e.events().publish(
[INFO] [stdout]     |                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `soroban_sdk::events::Events::publish`: use the #[contractevent] macro on a contract event type
[INFO] [stdout]    --> contracts/predict-iq/src/modules/events.rs:133:16
[INFO] [stdout]     |
[INFO] [stdout] 133 |     e.events().publish(
[INFO] [stdout]     |                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `soroban_sdk::events::Events::publish`: use the #[contractevent] macro on a contract event type
[INFO] [stdout]    --> contracts/predict-iq/src/modules/events.rs:140:16
[INFO] [stdout]     |
[INFO] [stdout] 140 |     e.events().publish(
[INFO] [stdout]     |                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `soroban_sdk::events::Events::publish`: use the #[contractevent] macro on a contract event type
[INFO] [stdout]    --> contracts/predict-iq/src/modules/events.rs:147:16
[INFO] [stdout]     |
[INFO] [stdout] 147 |     e.events().publish(
[INFO] [stdout]     |                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `soroban_sdk::events::Events::publish`: use the #[contractevent] macro on a contract event type
[INFO] [stdout]    --> contracts/predict-iq/src/modules/events.rs:154:16
[INFO] [stdout]     |
[INFO] [stdout] 154 |     e.events().publish(
[INFO] [stdout]     |                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `soroban_sdk::events::Events::publish`: use the #[contractevent] macro on a contract event type
[INFO] [stdout]    --> contracts/predict-iq/src/modules/events.rs:161:16
[INFO] [stdout]     |
[INFO] [stdout] 161 |     e.events().publish(
[INFO] [stdout]     |                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `soroban_sdk::events::Events::publish`: use the #[contractevent] macro on a contract event type
[INFO] [stdout]    --> contracts/predict-iq/src/modules/events.rs:168:16
[INFO] [stdout]     |
[INFO] [stdout] 168 |     e.events().publish(
[INFO] [stdout]     |                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `soroban_sdk::events::Events::publish`: use the #[contractevent] macro on a contract event type
[INFO] [stdout]    --> contracts/predict-iq/src/modules/events.rs:175:16
[INFO] [stdout]     |
[INFO] [stdout] 175 |     e.events().publish(
[INFO] [stdout]     |                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `soroban_sdk::events::Events::publish`: use the #[contractevent] macro on a contract event type
[INFO] [stdout]    --> contracts/predict-iq/src/modules/events.rs:182:16
[INFO] [stdout]     |
[INFO] [stdout] 182 |     e.events().publish(
[INFO] [stdout]     |                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `soroban_sdk::events::Events::publish`: use the #[contractevent] macro on a contract event type
[INFO] [stdout]    --> contracts/predict-iq/src/modules/events.rs:189:16
[INFO] [stdout]     |
[INFO] [stdout] 189 |     e.events().publish(
[INFO] [stdout]     |                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `soroban_sdk::events::Events::publish`: use the #[contractevent] macro on a contract event type
[INFO] [stdout]    --> contracts/predict-iq/src/modules/events.rs:202:16
[INFO] [stdout]     |
[INFO] [stdout] 202 |     e.events().publish(
[INFO] [stdout]     |                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `soroban_sdk::events::Events::publish`: use the #[contractevent] macro on a contract event type
[INFO] [stdout]    --> contracts/predict-iq/src/modules/events.rs:209:16
[INFO] [stdout]     |
[INFO] [stdout] 209 |     e.events().publish(
[INFO] [stdout]     |                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `soroban_sdk::events::Events::publish`: use the #[contractevent] macro on a contract event type
[INFO] [stdout]    --> contracts/predict-iq/src/modules/events.rs:216:16
[INFO] [stdout]     |
[INFO] [stdout] 216 |     e.events().publish(
[INFO] [stdout]     |                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `soroban_sdk::events::Events::publish`: use the #[contractevent] macro on a contract event type
[INFO] [stdout]    --> contracts/predict-iq/src/modules/events.rs:228:16
[INFO] [stdout]     |
[INFO] [stdout] 228 |     e.events().publish(
[INFO] [stdout]     |                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `soroban_sdk::events::Events::publish`: use the #[contractevent] macro on a contract event type
[INFO] [stdout]    --> contracts/predict-iq/src/modules/events.rs:239:16
[INFO] [stdout]     |
[INFO] [stdout] 239 |     e.events().publish(
[INFO] [stdout]     |                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `soroban_sdk::events::Events::publish`: use the #[contractevent] macro on a contract event type
[INFO] [stdout]    --> contracts/predict-iq/src/modules/events.rs:246:16
[INFO] [stdout]     |
[INFO] [stdout] 246 |     e.events().publish(
[INFO] [stdout]     |                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `soroban_sdk::events::Events::publish`: use the #[contractevent] macro on a contract event type
[INFO] [stdout]    --> contracts/predict-iq/src/modules/events.rs:253:16
[INFO] [stdout]     |
[INFO] [stdout] 253 |     e.events().publish(
[INFO] [stdout]     |                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `soroban_sdk::events::Events::publish`: use the #[contractevent] macro on a contract event type
[INFO] [stdout]    --> contracts/predict-iq/src/modules/events.rs:260:16
[INFO] [stdout]     |
[INFO] [stdout] 260 |     e.events().publish(
[INFO] [stdout]     |                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `soroban_sdk::events::Events::publish`: use the #[contractevent] macro on a contract event type
[INFO] [stdout]    --> contracts/predict-iq/src/modules/events.rs:268:10
[INFO] [stdout]     |
[INFO] [stdout] 268 |         .publish((symbol_short!("upg_rej"),), (EVENT_VERSION, wasm_hash));
[INFO] [stdout]     |          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `soroban_sdk::events::Events::publish`: use the #[contractevent] macro on a contract event type
[INFO] [stdout]    --> contracts/predict-iq/src/modules/events.rs:280:16
[INFO] [stdout]     |
[INFO] [stdout] 280 |     e.events().publish(
[INFO] [stdout]     |                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `soroban_sdk::events::Events::publish`: use the #[contractevent] macro on a contract event type
[INFO] [stdout]    --> contracts/predict-iq/src/modules/fees.rs:149:16
[INFO] [stdout]     |
[INFO] [stdout] 149 |     e.events().publish(
[INFO] [stdout]     |                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `InsufficientReputation` found for enum `errors::ErrorCode` in the current scope
[INFO] [stdout]    --> contracts/predict-iq/src/modules/markets.rs:168:31
[INFO] [stdout]     |
[INFO] [stdout] 168 |         return Err(ErrorCode::InsufficientReputation);
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^^^^^ variant, associated function, or constant not found in `errors::ErrorCode`
[INFO] [stdout]     |
[INFO] [stdout]    ::: contracts/predict-iq/src/errors.rs:6:1
[INFO] [stdout]     |
[INFO] [stdout]   6 | pub enum ErrorCode {
[INFO] [stdout]     | ------------------ variant, associated function, or constant `InsufficientReputation` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout] help: there is a variant with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 168 -         return Err(ErrorCode::InsufficientReputation);
[INFO] [stdout] 168 +         return Err(ErrorCode::InsufficientDeposit);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0063]: missing fields `dispute_timestamp`, `total_claimed` and `winner_counts` in initializer of `Market`
[INFO] [stdout]    --> contracts/predict-iq/src/modules/markets.rs:219:18
[INFO] [stdout]     |
[INFO] [stdout] 219 |     let market = Market {
[INFO] [stdout]     |                  ^^^^^^ missing `dispute_timestamp`, `total_claimed` and `winner_counts`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this enum variant takes 3 arguments but 2 arguments were supplied
[INFO] [stdout]    --> contracts/predict-iq/src/modules/markets.rs:329:15
[INFO] [stdout]     |
[INFO] [stdout] 329 |     let key = crate::modules::bets::DataKey::Bet(market_id, e.current_contract_address());
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----------------------------------------- argument #3 of type `u32` is missing
[INFO] [stdout]     |
[INFO] [stdout] note: tuple variant defined here
[INFO] [stdout]    --> contracts/predict-iq/src/modules/bets.rs:36:5
[INFO] [stdout]     |
[INFO] [stdout]  36 |     Bet(u64, Address, u32),         // market_id, bettor, outcome
[INFO] [stdout]     |     ^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]     |
[INFO] [stdout] 329 |     let key = crate::modules::bets::DataKey::Bet(market_id, e.current_contract_address(), /* u32 */);
[INFO] [stdout]     |                                                                                         +++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `soroban_sdk::events::Events::publish`: use the #[contractevent] macro on a contract event type
[INFO] [stdout]   --> contracts/predict-iq/src/modules/monitoring.rs:36:20
[INFO] [stdout]    |
[INFO] [stdout] 36 |         e.events().publish((symbol_short!("cb_auto"),), count);
[INFO] [stdout]    |                    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: `soroban_sdk::storage::Persistent` is not an iterator
[INFO] [stdout]    --> contracts/predict-iq/src/modules/monitoring.rs:71:42
[INFO] [stdout]     |
[INFO] [stdout]  71 |     let count = e.storage().persistent().count();
[INFO] [stdout]     |                                          ^^^^^ `soroban_sdk::storage::Persistent` is not an iterator
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/soroban-sdk-26.1.0/src/storage.rs:331:1
[INFO] [stdout]     |
[INFO] [stdout] 331 | pub struct Persistent {
[INFO] [stdout]     | --------------------- doesn't satisfy `soroban_sdk::storage::Persistent: Iterator`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `soroban_sdk::storage::Persistent: Iterator`
[INFO] [stdout]             which is required by `&mut soroban_sdk::storage::Persistent: Iterator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `soroban_sdk::events::Events::publish`: use the #[contractevent] macro on a contract event type
[INFO] [stdout]   --> contracts/predict-iq/src/modules/monitoring.rs:75:20
[INFO] [stdout]    |
[INFO] [stdout] 75 |         e.events().publish(
[INFO] [stdout]    |                    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `soroban_sdk::events::Events::publish`: use the #[contractevent] macro on a contract event type
[INFO] [stdout]   --> contracts/predict-iq/src/modules/monitoring.rs:88:16
[INFO] [stdout]    |
[INFO] [stdout] 88 |     e.events().publish((symbol_short!("storage"),), count);
[INFO] [stdout]    |                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> contracts/predict-iq/src/modules/oracles.rs:55:9
[INFO] [stdout]    |
[INFO] [stdout] 55 |     let (price, conf, expo, publish_time) = client.get_price(&feed_id);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   -------------------------- this expression has type `pyth_client::Price`
[INFO] [stdout]    |         |
[INFO] [stdout]    |         expected `Price`, found `(_, _, _, _)`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `pyth_client::Price`
[INFO] [stdout]                found tuple `(_, _, _, _)`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `soroban_sdk::events::Events::publish`: use the #[contractevent] macro on a contract event type
[INFO] [stdout]    --> contracts/predict-iq/src/modules/oracles.rs:136:16
[INFO] [stdout]     |
[INFO] [stdout] 136 |     e.events().publish(
[INFO] [stdout]     |                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `InvalidTimestamp` found for enum `errors::ErrorCode` in the current scope
[INFO] [stdout]    --> contracts/predict-iq/src/modules/oracles.rs:194:24
[INFO] [stdout]     |
[INFO] [stdout] 194 |         Err(ErrorCode::InvalidTimestamp)
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^ variant, associated function, or constant not found in `errors::ErrorCode`
[INFO] [stdout]     |
[INFO] [stdout]    ::: contracts/predict-iq/src/errors.rs:6:1
[INFO] [stdout]     |
[INFO] [stdout]   6 | pub enum ErrorCode {
[INFO] [stdout]     | ------------------ variant, associated function, or constant `InvalidTimestamp` not found for this enum
[INFO] [stdout]     |
[INFO] [stdout] help: there is a variant with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 194 -         Err(ErrorCode::InvalidTimestamp)
[INFO] [stdout] 194 +         Err(ErrorCode::InvalidTimeRange)
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `soroban_sdk::String::from_slice`: use from_str
[INFO] [stdout]    --> contracts/predict-iq/src/modules/resolution.rs:100:47
[INFO] [stdout]     |
[INFO] [stdout] 100 |         let old_status = soroban_sdk::String::from_slice(e, "Active");
[INFO] [stdout]     |                                               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `soroban_sdk::String::from_slice`: use from_str
[INFO] [stdout]    --> contracts/predict-iq/src/modules/resolution.rs:101:47
[INFO] [stdout]     |
[INFO] [stdout] 101 |         let new_status = soroban_sdk::String::from_slice(e, "PendingResolution");
[INFO] [stdout]     |                                               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `soroban_sdk::events::Events::publish`: use the #[contractevent] macro on a contract event type
[INFO] [stdout]    --> contracts/predict-iq/src/modules/resolution.rs:118:20
[INFO] [stdout]     |
[INFO] [stdout] 118 |         e.events().publish(
[INFO] [stdout]     |                    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `soroban_sdk::String::from_slice`: use from_str
[INFO] [stdout]    --> contracts/predict-iq/src/modules/resolution.rs:146:51
[INFO] [stdout]     |
[INFO] [stdout] 146 |             let old_status = soroban_sdk::String::from_slice(e, "PendingResolution");
[INFO] [stdout]     |                                                   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `soroban_sdk::String::from_slice`: use from_str
[INFO] [stdout]    --> contracts/predict-iq/src/modules/resolution.rs:147:51
[INFO] [stdout]     |
[INFO] [stdout] 147 |             let new_status = soroban_sdk::String::from_slice(e, "Resolved");
[INFO] [stdout]     |                                                   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `soroban_sdk::events::Events::publish`: use the #[contractevent] macro on a contract event type
[INFO] [stdout]    --> contracts/predict-iq/src/modules/resolution.rs:162:24
[INFO] [stdout]     |
[INFO] [stdout] 162 |             e.events().publish(
[INFO] [stdout]     |                        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `soroban_sdk::String::from_slice`: use from_str
[INFO] [stdout]    --> contracts/predict-iq/src/modules/resolution.rs:181:51
[INFO] [stdout]     |
[INFO] [stdout] 181 |             let old_status = soroban_sdk::String::from_slice(e, "Disputed");
[INFO] [stdout]     |                                                   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `soroban_sdk::String::from_slice`: use from_str
[INFO] [stdout]    --> contracts/predict-iq/src/modules/resolution.rs:182:51
[INFO] [stdout]     |
[INFO] [stdout] 182 |             let new_status = soroban_sdk::String::from_slice(e, "Resolved");
[INFO] [stdout]     |                                                   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `soroban_sdk::events::Events::publish`: use the #[contractevent] macro on a contract event type
[INFO] [stdout]    --> contracts/predict-iq/src/modules/resolution.rs:198:24
[INFO] [stdout]     |
[INFO] [stdout] 198 |             e.events().publish(
[INFO] [stdout]     |                        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `soroban_sdk::events::Events::publish`: use the #[contractevent] macro on a contract event type
[INFO] [stdout]   --> contracts/predict-iq/src/modules/sac.rs:19:24
[INFO] [stdout]    |
[INFO] [stdout] 19 |             e.events().publish(
[INFO] [stdout]    |                        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `TransferFailed` found for enum `errors::ErrorCode` in the current scope
[INFO] [stdout]   --> contracts/predict-iq/src/modules/sac.rs:23:24
[INFO] [stdout]    |
[INFO] [stdout] 23 |             ErrorCode::TransferFailed
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^ variant, associated function, or constant not found in `errors::ErrorCode`
[INFO] [stdout]    |
[INFO] [stdout]   ::: contracts/predict-iq/src/errors.rs:6:1
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub enum ErrorCode {
[INFO] [stdout]    | ------------------ variant, associated function, or constant `TransferFailed` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `soroban_sdk::events::Events::publish`: use the #[contractevent] macro on a contract event type
[INFO] [stdout]   --> contracts/predict-iq/src/modules/sac.rs:26:24
[INFO] [stdout]    |
[INFO] [stdout] 26 |             e.events().publish(
[INFO] [stdout]    |                        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `TransferFailed` found for enum `errors::ErrorCode` in the current scope
[INFO] [stdout]   --> contracts/predict-iq/src/modules/sac.rs:30:24
[INFO] [stdout]    |
[INFO] [stdout] 30 |             ErrorCode::TransferFailed
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^ variant, associated function, or constant not found in `errors::ErrorCode`
[INFO] [stdout]    |
[INFO] [stdout]   ::: contracts/predict-iq/src/errors.rs:6:1
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub enum ErrorCode {
[INFO] [stdout]    | ------------------ variant, associated function, or constant `TransferFailed` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `frozen` found for struct `Client<'a>` in the current scope
[INFO] [stdout]   --> contracts/predict-iq/src/modules/sac.rs:48:18
[INFO] [stdout]    |
[INFO] [stdout] 48 |     match client.frozen(user) {
[INFO] [stdout]    |                  ^^^^^^ method not found in `Client<'_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `soroban_sdk::events::Events::publish`: use the #[contractevent] macro on a contract event type
[INFO] [stdout]   --> contracts/predict-iq/src/modules/sac.rs:51:28
[INFO] [stdout]    |
[INFO] [stdout] 51 |                 e.events().publish(
[INFO] [stdout]    |                            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 3 arguments but 4 arguments were supplied
[INFO] [stdout]    --> contracts/predict-iq/src/lib.rs:137:9
[INFO] [stdout]     |
[INFO] [stdout] 137 |         crate::modules::bets::claim_winnings(&e, bettor, market_id, token_address)
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^                        ------------- unexpected argument #4 of type `soroban_sdk::Address`
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> contracts/predict-iq/src/modules/bets.rs:250:8
[INFO] [stdout]     |
[INFO] [stdout] 250 | pub fn claim_winnings(e: &Env, bettor: Address, market_id: u64) -> Result<i128, ErrorCode> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]     |
[INFO] [stdout] 137 -         crate::modules::bets::claim_winnings(&e, bettor, market_id, token_address)
[INFO] [stdout] 137 +         crate::modules::bets::claim_winnings(&e, bettor, market_id)
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 5 arguments but 4 arguments were supplied
[INFO] [stdout]    --> contracts/predict-iq/src/lib.rs:146:9
[INFO] [stdout]     |
[INFO] [stdout] 146 |         crate::modules::bets::withdraw_refund(&e, bettor, market_id, token_address)
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^                        ------------- argument #4 of type `u32` is missing
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> contracts/predict-iq/src/modules/bets.rs:311:8
[INFO] [stdout]     |
[INFO] [stdout] 311 | pub fn withdraw_refund(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 315 |     outcome: u32,
[INFO] [stdout]     |     ------------
[INFO] [stdout] help: provide the argument
[INFO] [stdout]     |
[INFO] [stdout] 146 |         crate::modules::bets::withdraw_refund(&e, bettor, market_id, /* u32 */, token_address)
[INFO] [stdout]     |                                                                      ++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: use of moved value: `wasm_hash`
[INFO] [stdout]    --> contracts/predict-iq/src/modules/governance.rs:260:62
[INFO] [stdout]     |
[INFO] [stdout] 231 | pub fn initiate_upgrade(e: &Env, wasm_hash: BytesN<32>) -> Result<(), ErrorCode> {
[INFO] [stdout]     |                                  --------- move occurs because `wasm_hash` has type `soroban_sdk::BytesN<32>`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 245 |         wasm_hash,
[INFO] [stdout]     |         --------- value moved here
[INFO] [stdout] ...
[INFO] [stdout] 260 |     crate::modules::events::emit_upgrade_initiated(e, admin, wasm_hash);
[INFO] [stdout]     |                                                              ^^^^^^^^^ value used here after move
[INFO] [stdout]     |
[INFO] [stdout] help: consider cloning the value if the performance cost is acceptable
[INFO] [stdout]     |
[INFO] [stdout] 245 |         wasm_hash: wasm_hash.clone(),
[INFO] [stdout]     |                  +++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: use of moved value: `voter`
[INFO] [stdout]    --> contracts/predict-iq/src/modules/governance.rs:357:51
[INFO] [stdout]     |
[INFO] [stdout] 309 | pub fn vote_for_upgrade(e: &Env, voter: Address, vote_for: bool) -> Result<bool, ErrorCode> {
[INFO] [stdout]     |                                  ----- move occurs because `voter` has type `soroban_sdk::Address`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 343 |         pending_upgrade.votes_for.push_back(voter);
[INFO] [stdout]     |                                             ----- value moved here
[INFO] [stdout] 344 |     } else {
[INFO] [stdout] 345 |         pending_upgrade.votes_against.push_back(voter);
[INFO] [stdout]     |                                                 ----- value moved here
[INFO] [stdout] ...
[INFO] [stdout] 357 |     crate::modules::events::emit_upgrade_voted(e, voter, vote_for);
[INFO] [stdout]     |                                                   ^^^^^ value used here after move
[INFO] [stdout]     |
[INFO] [stdout] help: consider cloning the value if the performance cost is acceptable
[INFO] [stdout]     |
[INFO] [stdout] 345 |         pending_upgrade.votes_against.push_back(voter.clone());
[INFO] [stdout]     |                                                      ++++++++
[INFO] [stdout] help: consider cloning the value if the performance cost is acceptable
[INFO] [stdout]     |
[INFO] [stdout] 343 |         pending_upgrade.votes_for.push_back(voter.clone());
[INFO] [stdout]     |                                                  ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0063, E0308, E0382, E0425, E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `predict-iq` (lib) due to 27 previous errors; 52 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "849a50d60f64a2dd6f69aa8eff9de85c8d05f24f1ca424668efa517c238c3a71", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "849a50d60f64a2dd6f69aa8eff9de85c8d05f24f1ca424668efa517c238c3a71", kill_on_drop: false }`
[INFO] [stdout] 849a50d60f64a2dd6f69aa8eff9de85c8d05f24f1ca424668efa517c238c3a71
